<?php if($profile->getImageObject()): ?>
	<a href="<?php echo $profile->getLink(); ?>">
	<img src="<?php echo $profile->getImageObject()->getLink(180, 135); ?>" />
	</a>
<?php endif; ?>